package com.jtx.miaoah2.Model.order.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @description sk_order_info
 * @author zhengkai.blog.csdn.net
 * @date 2023-07-23
 */
@Data
@TableName("sk_order_info")
public class SkOrderInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
    * id
    */
    private Long id;

    /**
    * delivery_addr_id
    */
    private Long deliveryAddrId;

    /**
    * goods_name
    */
    private String goodsName;

    /**
    * goods_count
    */
    private Integer goodsCount;

    /**
    * goods_price
    */
    private BigDecimal goodsPrice;

    /**
    * 订单渠道，1在线，2android，3ios
    */
    private int orderChannel;

    /**
    * 订单状态，0新建未支付，1已支付，2已发货，3已收货，4已退款，5已完成
    */
    private int status;

    /**
    * create_date
    */
    private Date createDate;

    /**
    * pay_date
    */
    private Date payDate;

    public SkOrderInfo() {}
}